
#encoding=UTF-8

from Error import *
from DefensiveBuilding import *

class InfernoTower(DefensiveBuilding):
	def __init__(self):
		DefensiveBuilding.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Inferno_Tower"
		self.number_available_dsec = """
0 	0 	0 	0 	0 	0 	0 	0 	0 	2 
"""
		self.level_info_desc = """
1 	24 	100 	1,000 	1,500 	500 	5,000,000 	7 days 	777 	10
2 	30 	125 	1,250 	1,900 	600 	8,000,000 	10 days 	929 	10 
"""
		self._DoParse()

	def _HitPointsIndex(self):
		return 4

	def _BuildCostIndex(self):
		return 6

	def _BuildTimeIndex(self):
		return 7

	def _ExperienceGainedIndex(self):
		return 8

	def _TownHallLevelRequiredIndex(self):
		return 9

	def GetAttackSpeed(self):
		return 0.128

	def _DamagePerSecondIndex(self):
		return 1

